package mall.dao;

import java.util.List;

import mall.pojo.Product;

public interface ProductDAO {
	public void createProduct(Product product);

	public int updateProduct(Product product);

	public int deleteProduct(int productId);
	
	public List<Product> getProductShop(int shopId ,int catId, int kind); // get list products of each shop by shopId
	
	public List<Product> getListProduct();
	public Product getProduct(int productId);//get product by productId
}
